package com.guigu.www.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("sys_menus")
public class Menus {
    @TableId(value = "ID",type= IdType.AUTO)
    private Integer id;
    @TableField("PARENT_ID")
    private Integer parentid;
    @TableField("SEQ")
    private Integer seq;        //排序
    @TableField("NAME")
    private String name;        //菜单名称
    @TableField("TIP")
    private String tip;     //提示信息
    @TableField("DESCN")
    private String descn;       //菜单说明
    @TableField("IMAGE_URL")
    private String imageurl;        //图片地址
    @TableField("LINK_URL")
    private String linkurl;     //链接地址
    @TableField("TARGET")
    private String target;      //目标窗口
    @TableField("STATUS")
    private String status;      //是否可用
    @TableField(exist = false)
    private List<Menus> menus;
    @TableField(exist = false)
    private boolean check;
}
